// 智泊云-通道续费
export default {
    data() {
        return {
            invoiceTitleManageData: {//发票抬头管理表单数据项
                id: '',
                titleType: '',
                invoiceType: '',
                invoiceTitle: '',
                invoiceNumber: '',
                companyAddress: '',
                companyPhone: '',
                bankName: '',
                bankAccount: '',
                mailingAddress: '',
                addressee: '',
                contactPhone: ''
            }
        }
    },
    created() {
        
    },
    methods: {
        invoiceTitleManage() {
            var self = this;
            self.toOpenModal('invoiceTitleManageModel', 1);
        },
        openInvoice(modalName){
            let self = this;
            let ids = [];
            //判断是否选择了多行
            let idsStr = self.selectionList;
            if(idsStr<=0){
              this.showToast("请至少选择一项",0);
              return false;
            }else{
              ids = idsStr.split(",");
            }
            self.ids = idsStr;
            self.toOpenModal(modalName,1);
        },
        titleTypeChange(val){
            alert(val);
        }
    }
}